import '@/static/js/pc'
import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

import http from './request/request.js'

Vue.prototype.$HTTP = http

// 只有在小程序编译
//#ifdef MP
// 网证的控件
Vue.prototype.$WZAPP = requirePlugin('wzapp');
//#endif

Vue.prototype.$BSNCODE = {
	 IDENTITY_VERIFICATION: 2,//身份核验
	 AUTHENTICATION_DOWNLOAD: 3,//网证下载
	 IDENTITY_AUTHENTICATION: 4, //身份认证
	 CREATE_CODE_REQUEST: 5, //二维码赋码
	 CODE_AUTHENTICATION: 6,//二维码验证接口
	 V_CODE:7, //获取短信验证码
	 V_CODE_AUTH:8
}


// 分页提示语
Vue.prototype.$LoadingText = {
	contentdown: "上拉显示更多",
	contentrefresh: "正在加载...",
	contentnomore: "~ 已经到底了 ~"
}

App.mpType = 'app'

const app = new Vue({
    ...App,
	beforeCreate: function () {
	  Vue.instance = this
	}
})
app.$mount()